package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.AnnualSectorData;

public interface AnnualSectorDataService {

	AnnualSectorData findById(int id);

	void saveAnnualSectorData(AnnualSectorData annualSectorData);

	void deleteAnnualSectorData(int id);

	List<AnnualSectorData> findAnnualSectorData(int id);

	List<AnnualSectorData> searchAnnualSectorData(int sectorId, Date fromDate,
			Date toDate, String orderBy, String orderByName);

	Page<AnnualSectorData> searchAnnualSectorData(int sectorId, Date fromDate,
			Date toDate, String orderBy, String orderByName,
			GridPramDTO gridPramDTO);

	public void deleteAnnualSectorData(int sectorId, Date fromDate, Date toDate);
}
